
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JPanel;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author whitscot
 */
public class LoadPane extends JPanel implements ActionListener{
    
    JButton newGame;
    JButton loadGame;
    
    LoadPane(){
        this.setSize(800, 800);
        this.setLocation(0, 25);
        this.setLayout(null);
        
        newGame = new JButton();
        newGame.setBounds(250, 50, 300, 50);
        newGame.setText("New Game");
        newGame.addActionListener(this);
        this.add(newGame);
        
        loadGame = new JButton();
        loadGame.setBounds(250, 200, 300, 50);
        loadGame.setText("Load Game");
        loadGame.addActionListener(this);
        this.add(loadGame);
    }

    @Override
    public void actionPerformed(ActionEvent e) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
}
